package com.example.entity.item;

import java.util.Date;

public class Favorites {
    private Integer favoritesID; //收藏夹ID
    private String UID; //用户UID
    private Integer id; //用户ID
    private String itemId; //商品ID
    private Date createdAt; //收藏时间

    @Override
    public String toString() {
        return "Favorites{" +
                "favoritesID=" + favoritesID +
                ", UID='" + UID + '\'' +
                ", id=" + id +
                ", itemId='" + itemId + '\'' +
                ", createdAt=" + createdAt +
                '}';
    }

    public Integer getFavoritesID() {
        return favoritesID;
    }

    public void setFavoritesID(Integer favoritesID) {
        this.favoritesID = favoritesID;
    }

    public String getUID() {
        return UID;
    }

    public void setUID(String UID) {
        this.UID = UID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}
